package com.mlk.good.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mlk.good.po.EngGoodOrder;
import com.mlk.good.vo.EngGoodOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author trekxu
 * @since 2019-06-26
 */
@Mapper
public interface EngGoodOrderMapper extends BaseMapper<EngGoodOrder> {

    int updateOrderStatus(@Param("orderCode") String orderCode,@Param("status") int status);

    /**
     * 订单信息分页查询
     * @param vo
     * @return
     */
    List<EngGoodOrderVO> selectForPage(EngGoodOrderVO vo);
}
